package cn.hyh.core.service.ServiceInterface;

import cn.hyh.core.pojo.Experience;
import cn.hyh.core.pojo.Msg;
import cn.hyh.core.pojo.User;
import cn.hyh.core.pojo.UserInfo;
import cn.hyh.core.vo.MsgModel;

import javax.servlet.http.HttpServletRequest;
import java.util.List;
import java.util.Map;

/**
 * @auther :hyh
 * @desc :
 * @date :2019/7/11
 */
public interface UserService {
    UserInfo getUserInfo();


    int getVisitorAddress(HttpServletRequest request);

    Map<String, Object> login(String username, String password);

    User findUser(String username, String pwd);

    List<Experience> initExperience();

    User update(User setLastLogin);
}
